<?php
class Sotay extends AppModel {

	var $name = 'Sotay';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Nongho' => array(
			'className' => 'Nongho',
			'foreignKey' => 'nongho_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Gionglua' => array(
			'className' => 'Gionglua',
			'foreignKey' => 'gionglua_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'MuaVue' => array(
			'className' => 'MuaVue',
			'foreignKey' => 'mua_vue_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Nam' => array(
			'className' => 'Nam',
			'foreignKey' => 'nam_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		
		'Trambvtv' => array(
			'className' => 'Trambvtv',
			'foreignKey' => 'trambvtv_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasMany = array(
		'Gpse' => array(
			'className' => 'Gpse',
			'foreignKey' => 'sotay_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'PhieuDt' => array(
			'className' => 'PhieuDt',
			'foreignKey' => 'sotay_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'SdPhanbon' => array(
			'className' => 'SdPhanbon',
			'foreignKey' => 'sotay_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'SdungThuoc' => array(
			'className' => 'SdungThuoc',
			'foreignKey' => 'sotay_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
?>